package com.study.mike.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author KangHui
 * @Date 2023/9/20 14:18
 */
@Data
@TableName(value = "contract")
public class ContractDO {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * contract_name
     */
    @TableField(value = "contract_name")
    private String contractName;

    /**
     * contract_type
     */
    @TableField(value = "contract_type")
    private Integer contractType;

    /**
     * flow_no
     */
    @TableField(value = "flow_no")
    private String flowNo;

    /**
     * contract_no
     */
    @TableField(value = "contract_no")
    private String contractNo;

    /**
     * location_no
     */
    @TableField(value = "location_no")
    private String locationNo;

    /**
     * cooperation_mode
     */
    @TableField(value = "cooperation_mode")
    private Integer cooperationMode;

    /**
     * project_leader
     */
    @TableField(value = "project_leader")
    private String projectLeader;

    /**
     * server_scope
     */
    @TableField(value = "server_scope")
    private String serverScope;

    /**
     * sign_time
     */
    @TableField(value = "sign_time")
    private Date signTime;

    /**
     * expire_time
     */
    @TableField(value = "expire_time")
    private Date expireTime;

    /**
     * amount_type
     */
    @TableField(value = "amount_type")
    private Integer amountType;

    /**
     * contract_object
     */
    @TableField(value = "contract_object")
    private String contractObject;

    /**
     * contract_tag
     */
    @TableField(value = "contract_tag")
    private String contractTag;

    /**
     * first_party_name
     */
    @TableField(value = "first_party_name")
    private String firstPartyName;

    /**
     * first_party_type
     */
    @TableField(value = "first_party_type")
    private Integer firstPartyType;

    /**
     * trade_type
     */
    @TableField(value = "trade_type")
    private Integer tradeType;

    /**
     * contacts
     */
    @TableField(value = "contacts")
    private String contacts;

    /**
     * contacts_mobile
     */
    @TableField(value = "contacts_mobile")
    private String contactsMobile;

    /**
     * district
     */
    @TableField(value = "district")
    private String district;

    /**
     * detail_address
     */
    @TableField(value = "detailed_address")
    private String detailedAddress;

    /**
     * attachments_name
     */
    @TableField(value = "attachments_name")
    private String attachmentsName;

    /**
     * attachments_path
     */
    @TableField(value = "attachments_path")
    private String attachmentsPath;

    /**
     * attachments_suffix
     */
    @TableField(value = "attachments_suffix")
    private String attachmentsSuffix;

    /**
     * company_code
     */
    @TableField(value = "company_code")
    private String companyCode;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * exact_amount
     */
    @TableField(value = "exact_amount")
    private BigDecimal exactAmount;

    /**
     * contract_duration
     */
    @TableField(value = "contract_duration")
    private Long contractDuration;

    /**
     * district_id
     */
    @TableField(value = "district_id")
    private String districtId;

    /**
     * contract_special
     */
    @TableField(value = "contract_special")
    private Integer contractSpecial;
}
